openCardReader

open fun openCardReader(timeout: Long): CardOpenResult

This method will block until a card is inserted into the default card reader. Once the card is inserted it will attempt to power on the card and retrieve the ATR.

Return

The ATR retrieved after powering on the card and the status of the card.

Parameters

timeout

The maximum time to wait for a card to be inserted, in milliseconds.